import fetch from '../until/fetch'
const baseUrl = '../../static/data'
// 轮播图
export function bannerList() {
  return fetch({
    method: 'get',
    url: `${baseUrl}/home/banner_list.json`
  })
}
//上下滑动轮播
export function biddingList() {
  return fetch({
    method: 'get',
    url: `${baseUrl}/home/bidding_list.json`
  })
}
// 推荐店铺
export function shopRec() {
  return fetch({
    method: 'get',
    url: `${baseUrl}/home/shop_rec.json`
  })
}
export function auctionList() {
  return fetch({
    method: 'get',
    url: `${baseUrl}/home/auction_list.json`
  })
}
// 用户信息
export function getuserInfo() {
  return fetch({
    method: 'get',
    url: `${baseUrl}/user/users_info.json`
  })
}
// 关注信息
export function followShopInfo() {
  return fetch({
    method: 'get',
    url: `${baseUrl}/home/follow_shop_list.json`
  })
}
// 首页头部拍品详情
export function shopList() {
  return fetch({
    method: 'get',
    url: `${baseUrl}/shop/shop_list.json`
  })
}
// 商品详情
export function goodsInfo() {
  return fetch({
    method: 'get',
    url: `${baseUrl}/shop/goods_detial.json`
  })
}
